package com.david.basic.model;

import java.util.List;

/**
 *分页对象
 * @author David
 * @version 2013-4-30
 * @param <T>
 */
public class Pager<T> {
	private int size;// 分页的大小 
	private int offset;// 分页的起始页
	private long total;// 总的记录数
	private List<T> datas;// 分页的数据

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getDatas() {
		return datas;
	}

	public void setDatas(List<T> datas) {
		this.datas = datas;
	}

}
